const Layout = () => import('@/layout/index.vue')
export default {
    path: '/admin',
    name: 'Admin',
    meta: { title: '管理员管理',icon:'Avatar' },
    component: Layout,
    children: [
      {
        path: '/administrator',
        name: 'Administrator',
        component: () => import('@/views/manageuser/list/index.vue'),
        meta: { title: '管理员', role: ['user_index'] }
      },
      {
        path: '/role',
        name: 'Role',
        component: () => import ('@/views/manageuser/role/index.vue'),
        meta: { title: '角色管理', role: ['role_index'] }
      },
      {
        path: '/permission',
        name: 'Permission',
        component: () => import ('@/views/manageuser/permission/index.vue'),
        meta: { title: '权限管理', role: ['permission_index'] }
      }
    ],
  }
